<div class="h8"></div>
<?php if($session['type_pg']==PERSON_TYPE && ($session['type_p_vasn']==PERSON_VIP_TYPE || $session['type_p_vasn']==PERSON_ADVANCE_TYPE)): ?>
<?php
    $this->renderPartial('mform',array(
        'table_width'=>'830',
        'title'=>'教育信息',
        'items'=>array(
            array(
                'type'=>'radio',
                'require'=>true,
                'label'=>'最高学历',
                'key'=>'highest_education',
                'class'=>'',
                'range'=>array('博士','硕士', '本科', '专科', '其他'),
                'open'=>true,
            ),
            array(
                'type'=>'date',
                'require'=>true,
                'label'=>'毕业时间',
                'key'=>'graduation_date',
                'class'=>'text120',
                'open'=>true,
            ),
            array(
                'type'=>'text',
                'require'=>true,
                'label'=>'就读院校',
                'key'=>'school',
                'class'=>'text',
                'open'=>true,
            ),
            array(
                'type'=>'text',
                'require'=>true,
                'label'=>'系别',
                'key'=>'department',
                'class'=>'text',
                'open'=>true,
            ),
            array(
                'type'=>'text',
                'require'=>true,
                'label'=>'所学专业',
                'key'=>'specialities',
                'class'=>'text',
                'open'=>true,
            ),
            array(
                'type'=>'textarea',
                'require'=>false,
                'label'=>'主要学术研究方向',
                'key'=>'research_directions',
                'class'=>'texta576',
                'open'=>true,
            ),

        )
    ));

    ?>
<?php elseif($session['type_pg']==PERSON_TYPE && $session['type_p_vasn']==PERSON_NORMAL_TYPE): ?>

<!-- 通栏-->
<div class="detailContent-title"><span class="local">当前位置：首页&nbsp;>&nbsp;个人会员注册>&nbsp;普善会员</span></div>
<div class="tonglan memberrg black">
    <div class="memberrgdetail">
        <div class="form">
            <?php $form=$this->beginWidget('CActiveForm', array(
            'id'=>'profiles-form',
            'enableAjaxValidation'=>false,
            'htmlOptions'=>array('enctype'=>'multipart/form-data')
        )); ?>

        <table width="890" border="0" align="center" cellpadding="8" cellspacing="0" class="table">
            <tr>
                <td height="64" colspan="3" align="center"><span class="jbxx">教育信息</span></td>
            </tr>
            <tr>
                <td colspan="3" align="right"><div class="tis"> ★ 带有&quot;<span class="f00">*</span>&quot;的项目必须填写,并确保您在基本信息中输入的Email地址有效。<br />
                    ★ 如果愿意公开的信息可以在□ 打勾'√'（公开是指对其他注册会员公开，而非注册会员无法浏览。） </div></td>
            </tr>
            <tr>
                <td colspan="4" align="right">
                    <p class="note" style="font-size: 20px;color: #ff0000;float: left;margin-left: 300px;">
                        <?php if(!empty($session['error'][0])) echo $session['error'][0];?>
                    </p>
                </td>
            </tr>
            <tr>


                <?php
                $this->renderPartial('input',array(
                'type'=>'radio',
                'range'=>array('博士','硕士','本科','专科','其他'),
                'require'=>true,
                'label'=>'最高学历',
                'key'=>'highest_education',
                'class'=>'',
                'open'=>true,
            )); ?>
            </tr>
            <tr>
                <?php $this->renderPartial('input',array(
                    'type'=>'date',
                    'require'=>true,
                    'label'=>'毕业时间',
                    'key'=>'graduation_date',
                    'class'=>'text120',
                'open'=>true,
                )); ?>
            </tr>
            <tr>
                <?php $this->renderPartial('input',array(
                'type'=>'text',
                'require'=>true,
                'label'=>'就读院校',
                'key'=>'school',
                'class'=>'text',
                'open'=>true,
            )); ?>
            </tr>
            <tr>
                <?php $this->renderPartial('input',array(
                'type'=>'text',
                'require'=>true,
                'label'=>'系别',
                'key'=>'department',
                'class'=>'text' ,
                'open'=>true,
            )); ?>
            </tr>
            <tr>
                <?php $this->renderPartial('input',array(
                'type'=>'text',
                'require'=>true,
                'label'=>'所学专业',
                'key'=>'specialities',
                'class'=>'text'  ,
                'open'=>true,
            )); ?>
            </tr>
            <tr>
                <?php $this->renderPartial('input',array(
                'type'=>'text',
                'require'=>true,
                'label'=>'就读第二学历高校名称及专业',
                'key'=>'n_second_school_major',
                'class'=>'text'   ,
                'open'=>true,
            )); ?>
            </tr>
            <tr>
                <?php $this->renderPartial('input',array(
                'type'=>'textarea',
                'require'=>true,
                'label'=>'计算机相关技能及描述',
                'key'=>'n_computer_skill',
                'class'=>'texta576'
            )); ?>
            </tr>
            <tr>
                <?php $this->renderPartial('input',array(
                'type'=>'textarea',
                'require'=>true,
                'label'=>'在计算机技能或学术方面获取的重大奖项',
                'key'=>'n_computer_achievement',
                'class'=>'texta576'
            )); ?>
            </tr>
            <tr>
                <?php $this->renderPartial('input',array(
                'type'=>'ltext',
                'require'=>true,
                'label'=>'技能标签设定',
                'key'=>'n_skill_mark',
                'class'=>'text576'
            )); ?>
            </tr>
            <tr>
                <td colspan="3"><table width="610" border="0" align="right" cellpadding="0" cellspacing="0">
                    <tr>
                        <td><span class="ccc">（标签是描述自己在集成电路、系统、软件应用、数据库、网络、前端设计等领域中的优势技能关键词，不超过15<br />
个字符，比如Php，mysql。请精准填写，以便于团体单位会员在招聘人才时能够搜索到你本人。） </span></td>
                    </tr>
                </table></td>
            </tr>
        </table>
            <div id="but" class="cen paddingbotton80 paddingtop50">
                <span><?php echo CHtml::submitButton('',array('id'=>'topstep','style'=>'border: 0 none;font-size:0;','name'=>'setup','value'=>3)); ?></span>
                <span><?php echo CHtml::submitButton('',array('id'=>'nextstep','style'=>'border: 0 none;font-size:0;','name'=>'setup','value'=>5)); ?></span>
            </div>
        <div class="clear"></div>

            <?php $this->endWidget(); ?>
        </div><!-- form -->
    </div>
    <div class="clear"></div>
</div>

<?php elseif($session['type_pg']==PERSON_TYPE && $session['type_p_vasn']==PERSON_STUDENT_TYPE): ?>
<div class="detailContent-title"><span class="local">当前位置：首页&nbsp;>&nbsp;会员注册>&nbsp;高级会员</span></div>
<div class="tonglan memberrg black">
    <div class="memberrgdetail">
        <div class="form">
            <?php $form=$this->beginWidget('CActiveForm', array(
        'id'=>'profiles-form',
        'enableAjaxValidation'=>false,
        'htmlOptions'=>array('enctype'=>'multipart/form-data')
    )); ?>
            <table width="690" border="0" align="center" cellpadding="8" cellspacing="0" class="table">
                <tr>
                    <td height="64" colspan="3" align="center"><span class="jbxx">教育信息</span></td>
                </tr>
                <tr>
                    <td colspan="3"><div class="tis"> ★ 带有&quot;<span class="f00">*</span>&quot;的项目必须填写,并确保您在基本信息中输入的Email地址有效。<br />
                        ★ 如果愿意公开的信息可以在□ 打勾'√'（公开是指对其他注册会员公开，而非注册会员无法浏览。） </div></td>
                </tr>
                <tr>
                    <td colspan="4" align="right">
                        <p class="note" style="font-size: 20px;color: #ff0000;float: left;margin-left: 300px;">
                            <?php if(!empty($session['error'][0])) echo $session['error'][0];?>
                        </p>
                    </td>
                </tr>
                <tr>
                    <td width="420" align="right"><span class="f00">*</span>在读院校：</td>
                    <td width="380"><input name="school" type="text" class="text" id="school" value="<?php echo isset($session['school']) ? $session['school']: '';?>" /></td>
                    <td width="120"><input name="school_open" type="checkbox" id="school_open" value="1" <?php echo $session['school_open']==1 ? 'checked="checked"':''; ?> />
                        公开</td>
                </tr>


                <tr>
                    <td width="300" align="right"><span class="f00">*</span>系别：</td>
                    <td width="380"><input name="department" type="text" class="text" id="department" value="<?php echo isset($session['department']) ? $session['department']: '';?>" /></td>
                    <td width="120"><input name="department_open" type="checkbox" id="department_open" value="1" <?php echo $session['department_open']==1 ? 'checked="checked"':''; ?> />
                        公开</td>
                </tr>
                <tr>
                    <td align="right"><span class="f00">*</span>所学专业：</td>
                    <td><input name="specialities" type="text" class="text" id="specialities" value="<?php echo isset($session['specialities']) ? $session['specialities']: '';?>" /></td>
                    <td><input name="specialities_open" type="checkbox" id="specialities_open" value="1" <?php echo $session['specialities_open']==1 ? 'checked="checked"':''; ?> />
                        公开</td>
                </tr>
                <tr>
                    array(
                    'type'=>'radio',
                    'require'=>true,
                    'label'=>'最高学历',
                    'key'=>'highest_education',
                    'class'=>'',
                    'range'=>array('博士','硕士', '本科', '专科', '其他'),
                    'open'=>true,
                    ),
                </tr>
                <tr>
                    <td align="right"><span class="f00">*</span>入学时间：</td>
                    <td>
                        <span><select id="s_admission_date" name="s_admission_date" class="year">
                            <option <?php echo 0==$session['s_admission_date'] ? 'selected="selected"':''; ?> value="0">请选择</option>
                            <?php
                            for($i=date("Y");$i>=1980;$i--){
                                echo  '<option '.($i==$session['s_admission_date'] ? 'selected="selected"':'').' value="'.$i.'">'.$i.'</option>';
                            }
                            ?>
                        </select></span>
                        <span>年</span>

                    </td>
                    <td><input name="s_admission_date_open" type="checkbox" id="s_admission_date_open" value="1" <?php echo $session['s_admission_date_open']==1 ? 'checked="checked"':''; ?> />
                        公开</td>
                </tr>
                <tr>
                    <td align="right"><span class="f00">*</span>毕业时间：</td>
                    <td>
                        <span><select id="graduation_date" name="graduation_date" class="year">
                            <option <?php echo 0==$session['graduation_date'] ? 'selected="selected"':''; ?> value="0">请选择</option>
                            <?php
                            for($i=date("Y")+10;$i>=1980;$i--){
                                echo  '<option '.($i==$session['graduation_date'] ? 'selected="selected"':'').' value="'.$i.'">'.$i.'</option>';
                            }
                            ?>
                        </select></span>
                        <span>年</span>
                    </td>
                    <td><input name="graduation_date_open" type="checkbox" id="graduation_date_open" value="1" <?php echo $session['graduation_date_open']==1 ? 'checked="checked"':''; ?> />
                        公开</td>
                </tr>
                <tr>
                    <td align="right"><span class="f00">*</span>学生证号：</td>
                    <td><input name="s_studentid" type="text" class="text" id="s_studentid" value="<?php echo isset($session['s_studentid']) ? $session['s_studentid']: '';?>" /></td>
                    <td><input name="s_studentid_open" type="checkbox" id="s_studentid_open" value="1" <?php echo $session['s_studentid_open']==1 ? 'checked="checked"':''; ?> />
                        公开</td>
                </tr>
                <tr>
                    <td align="right">担任何种校内职务：</td>
                    <td><input name="s_school_position" type="text" class="text" id="s_school_position" value="<?php echo isset($session['s_school_position']) ? $session['s_school_position']: '';?>" /></td>
                    <td><input name="s_school_position_open" type="checkbox" id="s_school_position_open" value="1" <?php echo $session['s_school_position_open']==1 ? 'checked="checked"':''; ?> />
                        公开</td>
                </tr>
                <tr>
                    <td align="right">担任何种校外兼职：</td>
                    <td><input name="social_position" type="text" class="text" id="social_position" value="<?php echo isset($session['social_position']) ? $session['social_position']: '';?>" /></td>
                    <td><input name="social_position_open" type="checkbox" id="social_position_open" value="1" <?php echo $session['social_position_open']==1 ? 'checked="checked"':''; ?> />
                        公开</td>
                </tr>
                <tr>
                    <td colspan="2">已经获取（包括）院系级以上的奖项：</td>
                    <td><input name="achievement_open" type="checkbox" id="achievement_open" value="1" <?php echo $session['achievement_open']==1 ? 'checked="checked"':''; ?> />
                        公开</td>
                </tr>
                <tr>
                    <td></td>
                    <td colspan="3"><label for="achievement"></label>
                        <textarea name="achievement" id="achievement" cols="80" rows="7"><?php echo isset($session['achievement']) ? $session['achievement']: '';?></textarea></td>
                </tr>
                <tr>
                    <td colspan="2">加盟学会希望获得的计算机技能服务：</td>
                    <td><input name="n_computer_skill_open" type="checkbox" id="n_computer_skill_open" value="1" <?php echo $session['n_computer_skill_open']==1 ? 'checked="checked"':''; ?> />
                        公开</td>
                </tr>
                <tr>
                    <td></td>
                    <td colspan="3"><label for="n_computer_skill"></label>
                        <textarea name="n_computer_skill" id="n_computer_skill" cols="80" rows="7"><?php echo isset($session['n_computer_skill']) ? $session['n_computer_skill']: '';?></textarea></td>
                </tr>
            </table>

            <div id="but" class="cen paddingbotton80 paddingtop50">
                <span><?php echo CHtml::submitButton('',array('id'=>'topstep','style'=>'border: 0 none;font-size:0;','name'=>'setup','value'=>3)); ?></span>
                <span><?php echo CHtml::submitButton('',array('id'=>'nextstep','style'=>'border: 0 none;font-size:0;','name'=>'setup','value'=>5)); ?></span>
            </div>
            <div class="clear"></div>

            <?php $this->endWidget(); ?>
        </div><!-- form -->
    </div>
    <div class="clear"></div>
</div>
<?php endif;?>
<div class="h8"></div>